package com.microlecture.mapper;

import com.microlecture.entity.CookbookFood;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CookbookFoodMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CookbookFood record);

    CookbookFood selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CookbookFood record);

    List<CookbookFood> selectByCondition(@Param("cookbookid") Integer cookbookid);

}